package com.betterwood.dragon.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by zhengyanhua on 2021/4/1.
 */
@Data
public class UpdateAddRestLongDTO {

    @NotBlank(message = "Id不能为空")
    private String id;

    @NotNull(message = "增加时长不能为空")
    private Integer restLong;
}
